package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.PromotionStatus;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.Action;

public interface ActionService {

	List<Action> find();

	int findCount();

	Action findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(Action action);

	int update(Action action);

	int saveOrUpdate(Action action);

	ResultSet<Action> search(QueryInfo queryInfo,PromotionStatus pStatus, Date startDate, Date endDate, String q);

}
